package vista;

import java.io.Serializable;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;

import javax.naming.CommunicationException;

import dto.ClienteDTO;
import dto.UbicacionDTO;
import businessDelegate.Delegate;

public class test implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static void main(String[] args) throws RemoteException 
	{
		System.out.println("Facturado en un sector");
		
		ClienteDTO particular = new ClienteDTO();
		particular.setId(123);
		try {
			Delegate.getInstancia().altaCliente(particular);
		} catch (CommunicationException | NotBoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
